'use strict';

module.exports = {
    student: [{
        name: 'index',
        description: '首页',
        menus: [{
            name: 'today',
            description: '考勤概况'
        }, {
            name: 'time',
            description: '上课时间'
        }]
    }, {
        name: 'attendance',
        description: '考勤管理',
        menus: [{
            name: 'search',
            description: '考勤查询'
        }]
    }, {
        name: 'absence_apply',
        description: '假条中心',
        menus: [{
            name: 'add',
            description: '新建假条'
        }, {
            name: 'history',
            description: '历史假条'
        }]
    }],
    teacher: [{
        name: 'index',
        description: '首页',
        menus: [{
            name: 'index',
            description: '快捷导航'
        }]
    }, {
        name: 'attendance',
        description: '考勤管理',
        menus: [{
            name: 'search',
            description: '考勤查询'
        }, {
            name: 'daily_report',
            description: '考勤日报'
        }, {
            name: 'week_report',
            description: '考勤周报'
        }, {
            name: 'month_report',
            description: '考勤月报'
        }]
    }, {
        name: 'manual',
        description: '考勤补录',
        menus: [{
            name: 'manual',
            description: '考勤补录'
        }]
    }, {
        name: 'absence_apply',
        description: '假条中心',
        menus: [{
            name: 'today',
            description: '今日假条'
        }, {
            name: 'history',
            description: '历史假条'
        },
        ]
    }],
    leader: [{
        name: 'index',
        description: '首页',
        menus: [{
            name: 'index',
            description: '快捷导航'
        }]
    }, {
        name: 'basic_data',
        description: '基本资料',
        menus: [{
            name: 'students',
            description: '学生信息'
        }, {
            name: 'classes',
            description: '班级信息'
        }]
    }, {
        name: 'attendance',
        description: '考勤管理',
        menus: [{
            name: 'search',
            description: '考勤查询'
        }, {
            name: 'daily_report',
            description: '考勤日报'
        }, {
            name: 'week_report',
            description: '考勤周报'
        }, {
            name: 'month_report',
            description: '考勤月报'
        }]
    }, {
        name: 'system',
        description: '系统定义',
        menus: [{
            name: 'check_time',
            description: '上课时间设置'
        }, {
            name: 'festival',
            description: '节假日时间设置'
        }, {
            name: 'term',
            description: '学期设置'
        }]
    }, {
        name: 'device',
        description: '设备管理',
        menus: [{
            name: 'manage',
            description: '设备信息'
        }]
    }, {
        name: 'user',
        description: '用户管理',
        menus: [{
            name: 'privileges',
            description: '权限管理'
        }]
    }]
};
